﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Espanol/Pages/GPSTrackingAdminWebsiteManager.Master" AutoEventWireup="true" CodeBehind="AdminRoleManager.aspx.cs" Inherits="GPSTrackingAdminWebsiteManager.Espanol.Pages.AdminRoleManager" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
      <telerik:RadGrid ID="AdminRoleGrid" runat="server" AutoGenerateColumns="False" CellSpacing="0" GridLines="None" OnDeleteCommand="AdminRoleGrid_DeleteCommand" OnInsertCommand="AdminRoleGrid_InsertCommand" OnNeedDataSource="AdminRoleGrid_NeedDataSource" OnUpdateCommand="AdminRoleGrid_UpdateCommand">
        <ClientSettings>
            <Selecting AllowRowSelect="True" />
        </ClientSettings>
        <MasterTableView DataKeyNames="AdminRoleId">
            <CommandItemSettings ExportToPdfText="Export to PDF">
            </CommandItemSettings>
            <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
                <HeaderStyle Width="20px"></HeaderStyle>
            </RowIndicatorColumn>
            <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
                <HeaderStyle Width="20px"></HeaderStyle>
            </ExpandCollapseColumn>
            <Columns>
                <telerik:GridEditCommandColumn ButtonType="ImageButton" ItemStyle-Width="20px">
<ItemStyle Width="20px"></ItemStyle>
                        </telerik:GridEditCommandColumn>
                        <telerik:GridButtonColumn ConfirmText="¿Desea eliminar el role?" ConfirmDialogType="RadWindow"
                            ConfirmTitle="Eliminar ..." ButtonType="ImageButton" CommandName="Delete" ConfirmDialogHeight="100px"
                            ConfirmDialogWidth="220px" ItemStyle-Width="20px">
<ItemStyle Width="20px"></ItemStyle>
                        </telerik:GridButtonColumn>             
                <telerik:GridBoundColumn DataField="Description" FilterControlAltText="Filter Description column" HeaderText="Nombre" UniqueName="Description">
                </telerik:GridBoundColumn>
                <telerik:GridCheckBoxColumn DataField="IsActive" DataType="System.Boolean" FilterControlAltText="Filter IsActive column" HeaderText="Activo" UniqueName="IsActive">
                </telerik:GridCheckBoxColumn>
            </Columns>
            <EditFormSettings>
                <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                </EditColumn>
            </EditFormSettings>
        </MasterTableView>
        <FilterMenu EnableImageSprites="False">
        </FilterMenu>
    </telerik:RadGrid>
</asp:Content>
